package treeedit;

import java.io.IOException;

import javax.swing.JFrame;
import javax.swing.JScrollPane;

public class Test extends JFrame
{
	public Test ( )
	{
		JLispConsole lisp = new JLispConsole();
		
		JScrollPane s = new JScrollPane(lisp);
		//setSize(600,600);
		setContentPane(s);
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		setVisible(true);
		try {
			lisp.runFromFile(" /home/obiwan/print.lsp");	//lisp.runFromString("(print 'aaa)");
		} catch (IOException e) {
			System.err.println("Test: Couldn't run lisp console");
			e.printStackTrace();
		}
	}
	
	public static void main ( String args[])
	{
		new Test();
	}

}
